//
//  XHMessageCell.m
//  xidian
//
//  Created by 冷山 on 16/5/17.
//  Copyright © 2016年 lexingsoft. All rights reserved.
//

#import "XHMessageCell.h"

@implementation XHMessageCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (CGFloat)cellHeight
{
    CGSize size = [self.ui_titleLabel sizeThatFits:CGSizeMake(self.ui_titleLabel.frame.size.width,MAXFLOAT)];
    CGRect frame = [self frame];
    frame.size.height = size.height + 50;
    self.frame = frame;
    return frame.size.height;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
